package appapi.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import appapi.dao.EquipInfoMapper;
import appapi.entity.Zhongjiao.EquipInfoEntity;
import appapi.service.EquipInfoService;

/**
 * @author djq
 * @date 2023/8/9 14:02
 * @description:
 */

@Service
public class EquipInfoServiceImpl implements EquipInfoService {

    @Resource
    private EquipInfoMapper equipInfoMapper;

    @Override
    public int deleteByPrimaryKey(String deviceNo) {
        return equipInfoMapper.deleteByPrimaryKey(deviceNo);
    }

    @Override
    public int insert(EquipInfoEntity record) {
        return equipInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(EquipInfoEntity record) {
        return equipInfoMapper.insertSelective(record);
    }

    @Override
    public EquipInfoEntity selectByPrimaryKey(String deviceNo) {
        return equipInfoMapper.selectByPrimaryKey(deviceNo);
    }

    @Override
    public int updateByPrimaryKeySelective(EquipInfoEntity record) {
        return equipInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(EquipInfoEntity record) {
        return equipInfoMapper.updateByPrimaryKey(record);
    }

}


